package com.yescall.mole;

import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;

import com.badlogic.gdx.backends.android.AndroidApplication;
import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;

public class MainActivity extends AndroidApplication {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        AndroidApplicationConfiguration cfg = new AndroidApplicationConfiguration();
        cfg.useGL20 = false;
        
        setContentView(R.layout.main);
        
        LinearLayout mainLayout = (LinearLayout) findViewById(R.id.linear);
        View main =initializeForView(new MoleGame(), cfg);
        
        mainLayout.addView(main);
    }
}